package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCoupon;
import com.cskaoyan.market.db.domain.MarketCouponUser;

import java.util.List;

public interface AdminCouponService {
    List<MarketCoupon> list(String page, String limit, String sort, String order, String name, String type, String status);

    int delete(Integer id);

    int update(MarketCoupon marketCoupon);

    List<MarketCouponUser> listuser(String page, String limit, String sort, String order, String couponId, String status);


    MarketCoupon insert(MarketCoupon marketCoupon);
}
